
import Request from "../request";
import { bannerCreateProp } from "../type/banner";
import { tablePrams } from "../type/table";
export const getBannerTable = (data:tablePrams) => {
  return Request({
    url: "/bannerTable",
    method: "post",
    data,
  });
};export const createBanner = (data:bannerCreateProp) => {
    return Request({
      url: "/bannerCreate",
      method: "post",
      data,
    });
  };